package com.siyue.dao;

import com.siyue.dao.impl.AdminJdbcDAO;
import com.siyue.dao.impl.BookCategoryJdbcDAO;
import com.siyue.dao.impl.BookJdbcDAO;
import com.siyue.dao.impl.BookReviewJdbcDAO;
import com.siyue.dao.impl.MemberGradeJdbcDAO;
import com.siyue.dao.impl.MemberJdbcDAO;
import com.siyue.dao.impl.NoticeJdbcDAO;
import com.siyue.dao.impl.OrderFormJdbcDAO;
import com.siyue.dao.impl.OrderItemJdbcDAO;
import com.siyue.dao.impl.PublishJdbcDAO;

public class DAOFactory {

	public static AdminDAO getAdminDAO() {
		return new AdminJdbcDAO();
	}

	public static NoticeDAO getNoticeDAO() {
		return new NoticeJdbcDAO();
	}

	public static PublishDAO getPublishDAO() {
		return new PublishJdbcDAO();
	}

	public static BookCategoryDAO getBookCategoryDAO() {
		return new BookCategoryJdbcDAO();
	}

	public static BookDAO getBookDAO() {
		return new BookJdbcDAO();
	}

	public static OrderItemDAO getOrderItemDAO() {
		return new OrderItemJdbcDAO();
	}

	public static MemberDAO getMemberDAO() {
		return new MemberJdbcDAO();
	}

	public static MemberGradeDAO getMemberGradeDAO() {
		return new MemberGradeJdbcDAO();
	}

	public static BookReviewDAO getBookReviewDAO() {
		return new BookReviewJdbcDAO();
	}

	public static OrderFormDAO getOrderFormDAO() {
		return new OrderFormJdbcDAO();
	}
	
}
